/**
 * Created by fujia on 2016/6/15.
 */
jQuery(document).ready(function(e) {

    $(".delete-article").click(function () {
        var articleId = $(this).attr("data-id");

        $.post(
            "/post/delete",
            {
                'articleId' : articleId
            },function (data) {
                history.go(0);
            }
        );
    });
});